package com.hs.srm.admin.modules.inforecord.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.hs.srm.admin.modules.inforecord.VO.SupplyGoodVO;
import com.hs.srm.admin.modules.inforecord.entity.SupplyGoodEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

/**
 * @author socik
 * @date 2019/6/13 13:21
 * @email socik@qq.com
 */
public interface SupplyGoodDao extends BaseMapper<SupplyGoodEntity> {

    //分页查询数据
    List<SupplyGoodVO> selectSGDetailPage(RowBounds rowBounds,
                                          @Param("ew") Wrapper<SupplyGoodVO> wrapper, @Param("params") Map<String, Object> params);

    List<SupplyGoodEntity> selectSgPage(RowBounds rowBounds, @Param("ew") Wrapper<SupplyGoodEntity> wrapper, @Param("params") Map<String, Object> params);
}
